<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table width="500px" border="1" cellspacing="0">
    <tr>
        <td>编号</td>
        <td>姓名</td>
        <td>头像</td>
        <td>操作</td>
    </tr>
    {% for s in stu %}
        <tr>
            <td>{{ forloop.counter }}</td>
            <td>{{ s.name }}</td>
            <td><img style="width: 100px" src="{{ MEDIA_URL }}{{ s.photo }}" alt=""></td>
            <td><a href="/student/dow/?photo={{ s.photo }}">下载</a></td>
        </tr>

    {% endfor %}

</table>
</body>
</html>